package com.aier.classes.entity;

import java.sql.Timestamp;

public class ClassTeacher implements java.io.Serializable{

    /**
     * 班级教师表
     */
    private static final long serialVersionUID = 1L;

    private Long ctid;        //班级教师id(主键)
    private Long tid;        //学校教师id
    private Long cid;        //班级id
    private Timestamp ctime;//加入时间
    private Short isadmin;    //是否班级管理员 1:是,0:否
    
    //扩展
    private String ctime_str;
    private String gname;        //职务名
    private String name_teacher;//教师姓名
    private String name_classes;//班级名
    private String clogo;        //班级logo
    
    private String account; // 帐号
    
    public ClassTeacher() {
        super();
    }

    public ClassTeacher(Long ctid, Long tid, Long cid, Timestamp ctime,
            Short isadmin) {
        super();
        this.ctid = ctid;
        this.tid = tid;
        this.cid = cid;
        this.ctime = ctime;
        this.isadmin = isadmin;
    }

    public Long getCtid() {
        return ctid;
    }

    public void setCtid(Long ctid) {
        this.ctid = ctid;
    }

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Timestamp getCtime() {
        return ctime;
    }

    public void setCtime(Timestamp ctime) {
        this.ctime = ctime;
    }

    public Short getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Short isadmin) {
        this.isadmin = isadmin;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getCtime_str() {
        return ctime_str;
    }

    public void setCtime_str(String ctime_str) {
        this.ctime_str = ctime_str;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getName_teacher() {
        return name_teacher;
    }

    public void setName_teacher(String name_teacher) {
        this.name_teacher = name_teacher;
    }

    public String getName_classes() {
        return name_classes;
    }

    public void setName_classes(String name_classes) {
        this.name_classes = name_classes;
    }

    public String getClogo() {
        return clogo;
    }

    public void setClogo(String clogo) {
        this.clogo = clogo;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }




    
}
